#include<bits/stdc++.h>
using namespace std;
const int P=1e9+7;
int main()
{
    freopen("life.in","r",stdin);
    freopen("life.out","w",stdout);
    int n,k;
    scanf("%d%d",&n,&k);
    printf("YES\n%d",k);
    return 0;
}